home *** CD-ROM | disk | FTP | other *** search
- #ifndef CLIB_VIRTUALMEM_PROTOS_H
- #define CLIB_VIRTUALMEM_PROTOS_H
-
- /*
- ** $VER: virtualmem_protos.h 1.2 (7.8.1997)
- */
-
- #ifndef EXEC_TYPES_H
- #include <exec/types.h>
- #endif
-
- #ifndef LIBRARIES_VIRTUALMEM_H
- #include <libraries/virtualmem.h>
- #endif
-
- APTR CreateVMem(ULONG size,ULONG bits,LONG pri,ULONG virtualbits);
- VOID RemoveVMem(APTR handle);
- APTR LockVMem(APTR handle);
- VOID UnlockVMem(APTR handle);
-
- /* These two functions are private - use them at your own risk. */
- BOOL PageOut(APTR handle);
- BOOL PageIn(APTR handle);
-
- VOID ChangeVMemPri(APTR handle,LONG newpri);
- BOOL FlushVMem(ULONG attrs);
- APTR MakeVMem(APTR memory,ULONG size,ULONG flags,ULONG virtualflags);
- VOID GetVMemInfo(struct VMemStat *info);
- VOID AutoAdjustPri(APTR *handlearray);
- ULONG SetVMemFlags(APTR handle,ULONG flags);
- VOID UpdateVMemPrefs();
-
- #endif
-